﻿
namespace eLearning.Model
{
    public class Menu
    {
        public string Nama { get; set; }
        public string Icon { get; set; }
        public string Page { get; set; }

        public override string ToString()
        {
            return Nama;
        }

        public override bool Equals(object obj)
        {
            return Nama == (obj as Menu).Nama;
        }

        public override int GetHashCode()
        {
            return base.GetHashCode();
        }
    }
}
